// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   Res_ControlRegisterDTO.java

package com.hfstu.ifs.dto;

import com.hfstu.ifs.model.ControlRegister;
import java.lang.reflect.InvocationTargetException;
import org.apache.commons.beanutils.BeanUtils;

public class Res_ControlRegisterDTO
	implements Cloneable
{

	private String id;
	private String parentId;
	private String code;
	private String name;
	private String controlType;
	private String url;
	private String jsClassName;
	private String jsUrls;
	private Integer orderIndex;
	private boolean checked;
	private String nodeType;

	public Res_ControlRegisterDTO()
	{
		checked = false;
		nodeType = "controlRegister";
	}

	public boolean isChecked()
	{
		return checked;
	}

	public void setChecked(boolean checked)
	{
		this.checked = checked;
	}

	public String getParentId()
	{
		return parentId;
	}

	public void setParentId(String parentId)
	{
		this.parentId = parentId;
	}

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getControlType()
	{
		return controlType;
	}

	public void setControlType(String controlType)
	{
		this.controlType = controlType;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getJsClassName()
	{
		return jsClassName;
	}

	public void setJsClassName(String jsClassName)
	{
		this.jsClassName = jsClassName;
	}

	public String getJsUrls()
	{
		return jsUrls;
	}

	public void setJsUrls(String jsUrls)
	{
		this.jsUrls = jsUrls;
	}

	public Integer getOrderIndex()
	{
		return orderIndex;
	}

	public void setOrderIndex(Integer orderIndex)
	{
		this.orderIndex = orderIndex;
	}

	public String getNodeType()
	{
		return nodeType;
	}

	public void setNodeType(String nodeType)
	{
		this.nodeType = nodeType;
	}

	public Res_ControlRegisterDTO transfer(ControlRegister controlRegister)
	{
		try
		{
			BeanUtils.copyProperties(this, controlRegister);
		}
		catch (IllegalAccessException e)
		{
			e.printStackTrace();
		}
		catch (InvocationTargetException e)
		{
			e.printStackTrace();
		}
		return this;
	}

	public Object clone()
	{
		Res_ControlRegisterDTO o = null;
		try
		{
			o = (Res_ControlRegisterDTO)super.clone();
		}
		catch (CloneNotSupportedException e)
		{
			e.printStackTrace();
		}
		return o;
	}
}
